<template>
    <div>{{ name }} {{ age }} {{ phone }}</div>
</template>

<script>
import { defineComponent, ref, reactive } from 'vue'
export default defineComponent({
    setup(props, context) {
        let name = 'kkk' // 普通数据
        let age = ref(1)
        let phone = reactive(130)
        setInterval(() => {
            // age.value += 1
            phone += 1
        }, 1000)
        return {
            name,
            age,
            phone,
        }
    },
})
</script>

<style>
</style>